package org.csu.mypetstore.api.vo;

import lombok.Data;
import org.springframework.stereotype.Component;

import java.math.BigDecimal;

@Data
@Component
public class CartItemVO {
    //cart中的属性
    private String userid;
    private String itemid;
    private String productid;
    private String description;
    private String instock;
    private int quantity;
    private BigDecimal listprice;
    private BigDecimal totalprice;

    //item中的属性
    private BigDecimal unitCost;
    private int supplierId;
    private String status;
    private String attribute1;
    private String attribute2;
    private String attribute3;
    private String attribute4;
    private String attribute5;

    //product中的属性
    private String categoryId;
    private String name;
}
